package cn.com.oceansoft.business.danger.service;

import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.danger.entity.Attach;
import cn.com.oceansoft.business.danger.entity.Ptcsbz;
import cn.com.oceansoft.business.danger.entity.PtcsbzFlow;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created by OS on 2018/5/28.
 */
public interface IPtcsbzService {
    Pager<Ptcsbz> getPtcsbzList(Query query);

    void PtcsbzQrth(PtcsbzFlow ptcsbzFlow, String isconfirm);

    Ptcsbz findByid(String id);

    List<Attach> findAllAttach(String id);

    List<PtcsbzFlow> findAllFlowsbyPtcsbzd(String id);

    List<Ptcsbz> ptcsbztj(int deep, Query query);

    void exportPtcsbztj(HttpServletResponse response, List<Ptcsbz> list, int deep);

    /**
     * 配套保障详细信息
     *
     * @param query
     * @return
     */
    Object getPtcsbzDetailList(Query query);
}
